hackerrank ruby strings iteration problem solution

welcome to shbcf.ru